<?php
header('Content-type: application/json;charset=utf-8');
require_once(dirname(__FILE__).'/include/config.inc.php');
$table_name="#@__order";
$time = time() - 300;
$arr=array();

	$exec="select id from  `$table_name`  where  jindu='1'   AND delstate='' AND is_accept='0' "; 
	$res=$dosql->GetOne($exec);
	if($res){
		$arr['success'] = 1;
	}else{
		$arr['success'] = 0;
	}

 echo json_encode($arr);
?>